package design_pattern.FactoryModel2.Product;

/**
 * @Description
 * @Author yangshunjie
 * @Date 2021/9/20
 */

public class  Product {
    public String name;
    public String cod;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCod() {
        return cod;
    }

    public void setCod(String cod) {
        this.cod = cod;
    }

    @Override
    public String toString() {
        return "Product{" +
                "name='" + name + '\'' +
                ", cod='" + cod + '\'' +
                '}';
    }
}
